package com.domain.dao;

import com.domain.pojo.SmsCode;
import org.apache.commons.codec.language.bm.Rule;
import org.apache.ibatis.annotations.Param;

public interface SmsCodeMapper {
    int deleteByPrimaryKey(String id);

    int insert(SmsCode record);

    int insertSelective(SmsCode record);

    SmsCode selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SmsCode record);

    int updateByPrimaryKey(SmsCode record);

    SmsCode checkSmsCodeTime(@Param("phoneNumber") String phoneNumber, @Param("smsCode") String smsCode);

    SmsCode seleByPhone(String phone);

}